package com.zhl.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2018/11/5.
 * 友人帐
 */
@Getter
@Setter
@Table(name = "link")
public class Link {

    //使用example查询，int类型要写成Integer
    @Id
    private Integer id;
    @Column
    private String username;
    @Column
    private String title;
    @Column
    private String icon;
    @Column
    private String url;
    /**简介*/
    @Column
    private String synopsis;
    @Column
    private String available;
    @Column
    private String createTime;

}
